package cn.kin.dao;

import org.apache.ibatis.annotations.Param;

import cn.kin.pojo.Child;

public interface ChildMapper {
	
	//根据主键删除
    int deleteByPrimaryKey(Integer id);
    
    //添加儿童
    int insertChild(Child child);
    
    //根据id修改儿童信息
    int updateChild(Child child);
    
    //根据学号查询
    Child selectByStuNum(@Param("stuNum")String stuNum);
    
    //根据班级id删除儿童
    int deleteByClass(@Param("classID")Integer classID);
}